$(document).ready(function(){
	$(".viewitems").on("click", function(){
		window.location.href = "index.php?r=items/display/detail&id="+$(this).find(".hidId").html();
	});
});